import request from '@/utils/request'

export function fetchProjectMemberList() {
  return request({
    url: '/projectmembers',
    method: 'get'
  })
}

export function fetchProjectMemberById(id) {
  return request({
    url: `/projectmembers/${id}`,
    method: 'get'
  })
}

export function fetchProjectMemberByProjectId(projectId) {
  return request({
    url: `/projectmembers/${projectId}`,
    method: 'get'
  })
}